import request from '@/utils/request'
// 权益列表
export function listPhoneSearch(query) {
    return request({
        url: '/system/phonecheck/list',
        method: 'get',
        params: query
    })
}

//号码查询

export function phoneSearch(query) {
    return request({
        url: '/system/phonecheck/PhoneCheck',
        method: 'get',
        params: query
    })
}

//余额检测

export function phoneSearchBala(query) {
    return request({
        url: '/system/phonecheckWallet/getWallet',
        method: 'get',
        params: query
    })
}

//金额充值
export function rechargeMoney(data) {
    return request({
        url: `/system/phonecheckWallet/add?money=${data}`,
        method: 'post',
    })
}
//充值记录
export function getRelist(query) {
    return request({
        url: '/system/phonecheckWallet/getRechargeDetail',
        method: 'get',
        params: query
    })
}
//消费记录
export function getUselist(query) {
    return request({
        url: '/system/phonecheckWallet/getConsumeDetail',
        method: 'get',
        params: query
    })
}
